package IViews;

import javax.swing.ImageIcon;
import javax.swing.JLabel;

public class IBackButton extends JLabel{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private final static int count = 2;
	
	public IBackButton(int x, int y){
		this.setBounds(x, y, 84, 30);
		this.setIcon(new ImageIcon("backButton_0.png"));
	}
	
	public IBackButton(int x, int y, int kind){
		this.setBounds(x, y, 84, 30);
		this.setIcon(new ImageIcon("backButton_"+(kind%count)+".png"));
	}
	
}
